package com.cloud.tsp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cloud.api.domain.tsp.Command;
import com.cloud.api.domain.tsp.CommandExecHistory;
import com.cloud.api.domain.tsp.QueryIssueHistory;
import com.cloud.mybatis.domain.TableDataInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author haohaibo
 * @since 2023-11-30
 */
public interface CommandExecHistoryMapper extends BaseMapper<CommandExecHistory> {
    List<Command> getCommandCount(@Param("type") String type);

    IPage<CommandExecHistory> selectIssueHistory(IPage<?> page, @Param("c") QueryIssueHistory para);

    CommandExecHistory selectIssueHistoryById(@Param("id") String id);
}
